﻿namespace OnWork.DataCenter.BLL.Standard
{
    /// <summary>
    /// DataTableCol 列属性
    /// </summary>
    public class DataTableCol
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string id { get; set; } = Guid.NewGuid().ToString("N");

        /// <summary>
        /// 字段名称
        /// </summary>
        public string ColName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public DataType ColType { get; set; } = DataType.String;

        /// <summary>
        /// jsonPath
        /// </summary>
        public string ColSelectToken { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}